package net.anzhuo.common.entity;

import java.util.List;

public class PaginationVO<T> {
	private int totalPage;//总页数
	private int pageNo;//当前页数
	private int totalCount;//总记录数
	private List<T> list;//数据列表
	
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	@Override
	public String toString() {
		return "PaginationVO [totalPage=" + totalPage + ", pageNo=" + pageNo + ", totalCount=" + totalCount + ", list="
				+ list + "]";
	}
}